# New ports collection makefile for:	lpd
# Date created:		2006-06-09
# Whom:			Gea-Suan Lin <gslin@cs.nctu.edu.tw>
#
# $Id: Makefile 67 2006-08-10 11:46:28Z gslin $
#

PORTNAME=	lpd
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	cs
MASTER_SITES=	# none
DISTFILES=	# none

MAINTAINER=	gslin@cs.nctu.edu.tw
COMMENT=	Enhanced lpd

PLIST_FILES=	sbin/lpd

SRCBASE?=	/usr/src

.include <bsd.port.pre.mk>

.if !exists(${SRCBASE}/usr.sbin/lpr)
IGNORE=		need lpr source to compile
.endif

do-extract:
	@${MKDIR} ${WRKDIR}
	@${CP} -R ${SRCBASE}/usr.sbin/lpr ${WRKSRC}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/lpd/lpd ${TARGETDIR}/sbin

.include <bsd.port.post.mk>
